package com.emep.changzhi.analyse.config;


import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Redis连接池工具类
 */
@ConfigurationProperties(prefix = JedisProperties.JEDIS_PREFIX)
public class JedisProperties {

    public static final String JEDIS_PREFIX = "spring.redis";

    private String host;

    private Integer databaseTwo;

    private String password;


    private Integer port;

    public Integer getDatabaseTwo() {
        return databaseTwo;
    }
    public void setDatabaseTwo(Integer databaseTwo){
        this.databaseTwo = databaseTwo;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }


}